package com.zz.framework.core.adapter


//open class BaseDataBindingAdapter<T,DB: ViewDataBinding>(layoutResId: Int, br: Int) : BaseQuickAdapter<T, BaseDataBindingHolder<DB>>(layoutResId) {

    //    override fun onItemViewHolderCreated(viewHolder: BaseViewHolder, viewType: Int) { // 绑定 view
//        DataBindingUtil.bind<ViewDataBinding>(viewHolder.itemView)
//    }
//
//    override fun convert(helper: BaseViewHolder, item: T) {
//        if (item == null) {
//            return
//        }
//
//        // 获取 Binding
//        // 获取 Binding
//        val binding: ItemMovieBinding = helper.getBinding()
//        if (binding != null) {
//            binding.setMovie(item)
//            binding.setPresenter(mPresenter)
//            binding.executePendingBindings()
//        }
//    }
//    override fun convert(holder: BaseDataBindingHolder<DB>, item: T) {
//
//    }
//
//}